package com.tedu.pj.module.service;

import com.tedu.pj.common.anntation.RequireCache;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Song
 * @since 2020/10/22
 */
@Service
public class MoudleServiceImpl implements MoudleService{

    @Override
    @RequireCache(value = "list")
    public List<String> find() {
        System.out.println("find()");
        List<String> list = new ArrayList<>();
        list.add("1111");
        list.add("2222");
        return list;
    }
}
